-- GENERATED SPELL FOR [Shadowbeast] --


function spell0_16176(pUnit, Event) --@Howl of the Broken Hills,n/a--
pUnit:FullCastSpellOnTarget(29304,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16176', 1000, 1)
end

function Sorts_16176(pUnit, Event)
local choix_sorts_16176 = math.random(0, 0)
if choix_sorts_16176 == 0 then
pUnit:RegisterEvent('spell0_16176', 1, 1)
end
end

function mob16176_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16176', math.random(1500, 3000), 1)
end

function mob16176_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16176_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16176_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16176, 1, 'mob16176_Action')
RegisterUnitEvent(16176, 2, 'mob16176_Leave')
RegisterUnitEvent(16176, 3, 'mob16176_Kill')
RegisterUnitEvent(16176, 4, 'mob16176_Die')
